﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Tum.CollabXT
{
    /// <summary>
    /// This interface is a container for process elements <see cref="IProcessElement"/>, which are composed to a workflow.
    /// It contains input- and output artifacts <see cref="IArtifact"/> and refers to all relevant activities <see cref="IActivity"/>.
    /// </summary>
    public interface IWorkflowActivity : IDynamicProcessElement
    {
        /// <summary>
        /// Gets or sets the input artifacts.
        /// </summary>
        IArtifact[] InputArtifacts
        {
            get;
            set;
        }

        /// <summary>
        /// Gets or sets the output artifacts.
        /// </summary>
        IArtifact[] OutputArtifacts
        {
            get;
            set;
        }

        /// <summary>
        /// Gets or sets the relevant activities.
        /// </summary>
        IActivity[] Activities
        {
            get;
            set;
        }
    }
}
